//
//  SegmentView.h
//  CityFire
//
//  Created by liuyangzhu on 2017/9/1.
//  Copyright © 2017年 刘养柱. All rights reserved.
//

#import "BaseView.h"


typedef void(^SegmentBlock)(NSInteger index);

@interface SegmentView : BaseView

@property (strong, nonatomic) NSArray *titleArray;
@property (copy, nonatomic)SegmentBlock segmentBlock;

@property (nonatomic, strong) UIColor *lineColor;
@property (nonatomic, strong) UIColor *titleNormalColor;
@property (nonatomic, strong) UIColor *titleHighlightedColor;


- (void)segmentBlock:(SegmentBlock)segmentBlock;

@end
